how to handle transiet errors .net